<#import "/manage/tpl/pageBase.ftl" as page>
<@page.pageBase currentMenu="扶贫人员管理">
<style>
	.td_right{text-align: right;}
</style>
<script type="text/javascript">
	$(function() {
		 $("#username").focus();
	});
</script>
</head>

<body>
<#if e.id??>
    <#assign formAction="111">
<#assign insertAction=false />
<#else >
<#assign formAction="insert">
    <#assign insertAction=true />
</#if>

<#--<%-- formAction=<s:property value="#formAction"/><br> --%>-->
<#--<%-- formAction2=<s:property value="#request.formAction"/><br> --%>-->
<form action="${basepath}/manage/user" id="form" method="post">
	<#--<s:form action="user!" namespace="/" theme="simple" id="form">-->
		<table class="table table-bordered">
			<tr>
				<td colspan="2" style="background-color: #dff0d8;text-align: center;">
					<strong>信息查看</strong>
				</td>
			</tr>

			<tr>
				<th class="td_right" style="padding-top: 15px">姓名</th>
				<td style="text-align: left;">
                    <#if insertAction>
                        <input type="text" disabled="true"  name="name" id="name"  data-rule="帐号:required;name;length[4~20];remote[unique]">
                    <#else >
                        <input type="text" name="name" id="name" disabled="true" value="${e.name!""}">

                    </#if>
				</td>
			</tr>
			<tr>
				<th class="td_right" style="padding-top: 15px">性别</th>
				<td style="text-align: left;">
				<input type="text" disabled="true" name="gender" value="${e.gender!""}" id="gender"/>
					</td>
			</tr>
            <tr>
                <th class="td_right" style="padding-top: 15px">手机号</th>
                <td style="text-align: left;">
                    <input type="text" disabled="true" name="phone" value="${e.phone!""}" id="phone" />
                </td>
            </tr>

            <tr>
                <th class="td_right" style="padding-top: 15px">开户银行</th>
                <td style="text-align: left;">
                    <input type="text" disabled="true" name="bankName" value="${e.bankName!""}" id="bankName" />
                </td>
            </tr>

            <tr>
                <th class="td_right" style="padding-top: 15px">银行账号</th>
                <td style="text-align: left;">
                    <input type="text" disabled="true" name="bankNumber" value="${e.bankNumber!""}" id="bankNumber" />
                </td>
            </tr>

            <tr>
                <th class="td_right" style="padding-top: 15px">未结算金额</th>
                <td style="text-align: left;">
                    <input type="text" disabled="true" name="money" value="${e.money!""}" id="money" />
                </td>
            </tr>

            <tr>
                <th class="td_right" style="padding-top: 15px">结算总额</th>
                <td style="text-align: left;">
                    <input type="text" disabled="true" name="sumMoney" value="${e.sumMoney!""}" id="sumMoney" />
                </td>
            </tr>

            <tr>
                <th class="td_right" style="padding-top: 15px">详细地址</th>
                <td style="text-align: left;">
                    <textarea type="text" style="width: 300px;" readonly="readonly"
                              id="add" name="add">${e.address!""}</textarea>
                    <#--<input type="text" disabled="true" name="address" value="${e.address!""}" id="address" />-->
                </td>
            </tr>

            <tr>
                <th class="td_right" style="padding-top: 15px">家庭状况描述</th>
                <td style="text-align: left;">
                    <textarea type="text" style="width: 300px;" readonly="readonly"
                              id="add" name="add">${e.familyInfo!""}</textarea>
                    <#--<input type="text" disabled="true" name="familyInfo" value="${e.familyInfo!""}" id="familyInfo" />-->
                </td>
            </tr>
            <tr>
                <th class="td_right"></th>
                <td style="text-align: left;">
                <input type="button"  style="width: 100px;" readonly="readonly" class="btn btn-success" onclick="javascript:history.back(-1);" value="返回"/>
                </td>
            </tr>
		</table>
</form>
</@page.pageBase>